package ext.tianma.changeManager.constants;


public class ChangeConstants {
	
	//工艺文档、图档类文档
	public static final String [] DOCTYPES = {"cn.tianma.ProcessDocuments", "cn.tianma.DrawingDoc"};
	
	//RDP系统功能模块，依次为：编辑物料存储变更信息、文档存储信息
	public static final String [] RDP_MODULE = {"PartChange", "DocChange"};
	
	//成品
	public static final String FINISHEDGOOD = "cn.tianma.FinishedGood";
	
	//BOM组ECO变更
	public static final String BOM_ECO_WTCHANGEORDER2 = "cn.tianma.ECO_WTChangeOrder2";
	
	//BOM页面各大功能key
	public static String ADDPart = "ADDPart";//新增物料
	public static String DelPart = "DelPart";//删除物料
	public static String ReplacePart = "ReplacePart";//替换物料
	public static String UpdatePart = "UpdatePart";//用量修改
	public static String ADDReplcePart ="ADDReplcePart";//新增替代料
	public static String DelReplcePart = "DelReplcePart";//删除替代料
	public static String UpdateReplcePart = "UpdateReplcePart";//更换替代料
	public static String UpdateAPart = "updateAPart";//更换主料
	public static String ReplaceABPart = "ReplaceABPart";//主次替换
	public static String UpdateSubstitutesQuantity = "UpdateSubstitutesQuantity";//替代料用量修改(新增table)
	
	//BOM页面各大功能table
	public static String ADDPart_Table = "新增物料";//
	public static String DelPart_Table = "删除物料";//
	public static String ReplacePart_Table = "替换物料";//
	public static String UpdatePart_Table = "用量修改";//
	public static String ADDReplcePart_Table ="新增替代料";//
	public static String DelReplcePart_Table = "删除替代料";//
	public static String UpdateReplcePart_Table = "更换替代料";//
	public static String UpdateAPart_Table = "更换主料";//
	public static String ReplaceABPart_Table = "主次替换";//
	
	//各大功能中，每个表格列描述
	public static final String correctcode = "000";
	public static final String errorcode = "001";
	public static String effectpartname = "受影响对象";
	public static String addpartname = "新增料";
	public static String delectpartname = "删除料";
	public static String oldpartname = "原料";
	public static String newpartname = "新料";
	public static String mainpartname = "主料";
	public static String changepartname = "变更料";
	public static String newaddreplacepartname = "新增替代料";
	public static String delreplacepartname = "删除替代料";
	public static String oldreplacepartname = "原替代料";
	public static String newreplacepartname = "新替代料";
	public static String oldmainpartname = "原主料";
	public static String newmainpartname = "新主料";
	
	//key变量
	public static String RDPID = "rdpId";
	public static String CREATOR = "creator";
	public static String OWNER = "owner";
	public static String MODULE = "module";
	
	//特殊处理：历史原因，全局属性与部件中的IBA属性key不一致
	public static final String [] IBANAMES = {"otherorigin"}; 
	
}
